package com.yuou.controller;



import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
public class NavController {
	
	 /** 
     * 初始登陆界面 
     * @param request 
     * @return 
     */  
    @RequestMapping("/{nav}")
    public String returnToJsp(@PathVariable String nav){  
    	System.out.println("nav=============="+nav);
    	String result="page/"+nav;
    	return result;  
    }  
    
}
